/**
此样式文件为修改elementUI组件样式，不要添加多余内容，每种组件加上注释
**/
//表格
.el-table th {
  background: #eee;
  color: #666;
}

//弹窗diolog
#app {
  .el-breadcrumb__inner {
    color: #888;
  }

  .el-breadcrumb__separator {
    font-weight: 700;
  }

  .el-breadcrumb__item:last-child .el-breadcrumb__inner {
    color: #00D09D;
  }

  .search-v {
    .el-input__inner {
      border: 1px solid rgba($color: #000000, $alpha: 0);
      padding: 0 5px;
    }

    .el-input {
      input::-webkit-input-placeholder {
        /* WebKit browsers 适配谷歌 */
        color: #999;
      }

      input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 适配火狐 */
        color: #999;
      }

      input::-moz-placeholder {
        /* Mozilla Firefox 19+ 适配火狐 */
        color: #999;
      }

      input:-ms-input-placeholder {
        /* Internet Explorer 10+  适配ie*/
        color: #999;
      }
    }
  }


  .el-dialog__header {
    // background-image: linear-gradient(to right, #409eff, #af74ec);
    background-color: #465262;
    text-align: left;
    padding: 14px 20px;
    height: 16px;

    .el-dialog__title {
      color: #fff;
      font-size: 16px;
      line-height: 10px;
    }

    .el-dialog__headerbtn {
      top: 10px;
    }

    .el-dialog__headerbtn .el-dialog__close {
      color: #fff;
    }

    .el-dialog__close {
      line-height: 24px;
    }
  }

  .el-menu-item,
  .el-submenu__title {
    height: 46px;
    line-height: 46px;
  }

  //下拉选择树
  .selectTree-input {
    input {
      background-color: #FFF;
      border-color: #DCDFE6;
      color: #606266;
      cursor: default;
    }

    i {
      cursor: default;
    }
  }

  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: #fad4b2;
  }

  .timeline {

    .el-timeline-item__tail,
    .el-timeline-item__node--normal {
      margin-top: 11px;
    }
  }
}


.el-scrollbar__wrap {
  overflow-x: hidden;
}

.el-scrollbar__bar {
  z-index: 900;
}

// ivew调整
.sc-ce,.sc-ce3 {
  .ivu-anchor-ink-ball {
    width: 0;
    margin-top: -4px;
    height: 16px;
    border-radius: 0;
    border: 0;
  }

  .ivu-anchor-link .ivu-anchor-link .ivu-anchor-link-title {
    color: #999;
    font-size: 12px;
  }

  .ivu-anchor-link {
    a:hover {
      color: #00D09D !important;
    }
  }

  .ivu-anchor-link-active>.ivu-anchor-link-title {
    color: #00D09D !important;
  }
}
.sc-ce2 {
  .ivu-anchor-link .ivu-anchor-link .ivu-anchor-link-title ,.ivu-anchor-link-title{
    color: #00D09D;
  }
  .ivu-anchor-link .ivu-anchor-link .ivu-anchor-link-title {
    font-size: 12px;
  }

  .ivu-anchor-link {
    a:hover {
      text-decoration: underline;
    }
  }
}

// 改table
.ivu-menu-light {
  background-color: #f5f7fa;
}
.ivu-menu,ivu-menu-item{
  user-select: none;
  color: #000;
}
.ivu-menu-vertical.ivu-menu-light:after {
  background-color: rgba($color: #000000, $alpha: 0);
}

.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after {
  background-color: rgba($color: #000000, $alpha: 0);
}
.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu) {
  background-color: rgba($color: #000000, $alpha: 0);
  color: #00d09d;
  border-left: 2px solid #00d09d;
}

.ivu-menu-vertical .ivu-menu-item,
.ivu-menu-vertical .ivu-menu-submenu-title {
  &:hover {
    color: #00d09d;
  }
}
.ivu-menu-vertical .ivu-menu-item, .ivu-menu-vertical .ivu-menu-submenu-title{
  padding: 5px 8px 5px 15px;
}
.ivu-menu-submenu .ivu-menu-item,.ivu-menu-submenu .ivu-menu .ivu-menu-submenu-title{
  border-left: 2px solid #E5E8ED;
  color: #666;
  margin-left: 15px;
  font-size: 12px;
  user-select: none;
  padding-left: 20px !important;
}
.ivu-menu-vertical .ivu-menu-submenu-title-icon{
  right: 10px;
}

.ivu-menu-submenu-has-parent-submenu{
  .ivu-menu-submenu-title{
    padding-left: 20px !important;
    &:hover {
      color: #00d09d;
    }
  }
  .ivu-menu-item{
    padding-left: 48px !important;
    font-size: 12px;
    color: #999;
  }
}

.ivu-menu.ivu-menu-light.ivu-menu-vertical>.ivu-menu-item{
  border-left: 0px
}

.menu-zhe{
  .ivu-menu-light {
    background-color: #fff;
  }
  .ivu-menu,ivu-menu-item{
    font-weight: 600;
  }
  .ivu-menu-submenu .ivu-menu-item, .ivu-menu-submenu .ivu-menu .ivu-menu-submenu-title{
    font-size: 14px;
    font-weight: 300;
  }
}
